package com.fulihui.information.api;

import org.near.servicesupport.result.BaseResult;
import org.near.servicesupport.result.TPageResult;

import com.fulihui.information.dto.SourceDTO;
import com.fulihui.information.request.SourceQueryRequest;
import com.fulihui.information.request.SourceStatusRequest;

/**
 * 数据来源服务
 * Created by LeeSon on 2017/1/16 0016.
 */
public interface SourceService {
    /**
     * 状态修改接口
     * @param request {@link SourceStatusRequest}
     * @return {@link BaseResult}
     */
    BaseResult modifyStatus(SourceStatusRequest request);

    /**
     * 来源信息分页查询
     * @param request {@link SourceQueryRequest}
     * @return {@link TPageResult} <{@link SourceDTO}>
     */
    TPageResult<SourceDTO> queryPage(SourceQueryRequest request);
}